package org.lboot.rbac.module.role;


import org.lboot.jpa.service.BaseService;
import org.lboot.jpa.service.BatchService;
import org.lboot.jpa.service.UniService;
import org.lboot.jpa.service.UnwrapService;

import java.util.List;

/**
 * @author kindear
 */
public interface SysRoleService extends UniService<SysRole,Long> {

    List<String> addRolePermissions(String roleId, List<String> perms);


    List<SysRole> getByRoleKeyIn(List<String> roleKeys);

    /**
     * 新建核查
     * @param t
     * @return
     */
    void createCheck(SysRole t);

    /**
     * 更新核查
     * @param t
     */
    void updateCheck(SysRole t);

}
